#pragma once

#include <linux/types.h>

struct clocksource;

enum tk_offsets
{
    TK_OFFS_REAL,
    TK_OFFS_BOOT,
    TK_OFFS_TAI,

    TK_OFFS_MAX,
};

void timekeeping_init(void);

int timekeeping_notify(struct clocksource *clock);

ktime_t ktime_get(void);
ktime_t ktime_get_real(void);
